<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>

<%
String opt = (request.getParameter("opt")!=null ? request.getParameter("opt") : "datesheet");

// Manager Config
if(opt.equals("config")){
	String task = (request.getParameter("task")!=null ? request.getParameter("task") : "job");
	String act = (request.getParameter("act")!=null ? request.getParameter("act") : "view");
	if(task.equals("job")){
		if(act.equals("new")){
			%>
            <jsp:include page="newJob.jsp" />
            <%
		}else if(act.equals("edit")){
			%>
            <jsp:include page="editJob.jsp" />
            <%
		}else if(act.equals("delete")){
			%>
            <jsp:include page="deleteJob.jsp" />
            <%
		}else{ //view
			%>
            <jsp:include page="viewJob.jsp" />
            <%
		}
	}
}
%>